package com.lzh.chatnote.chat.service.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import javax.annotation.Resource;

@Getter
public class MessageSendEvent  extends ApplicationEvent {

    @Resource
    private Long msgId;

    public MessageSendEvent(Object source, Long msgId) {
        super(source);
        this.msgId = msgId;
    }
}
